package com.cai.oamanager.service;

import com.cai.oamanager.entity.Leave;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @version 1.0
 * @author：蔡松坡
 * @date：2021/3/2 16 : 46
 * @package：com.cai.oamanager.service
 */
public interface LeaveSevice {
    List<Leave> getAllLeave(Integer stuId, Integer start, Integer size);
    void addLeave(Leave leave);
    int getLeaveCount(Integer stuId);

    List<Leave> getLeaves(String pid);

    void instructorApproved(Integer leid,Integer sta);
}
